package com.lifeng.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by lifeng on 2019/8/12.
 */
@Controller
public class ErrorController {

    @RequestMapping("/unauthorization")
    @ResponseBody
    public String unauthorization(){
        return "权限不足";
    }
}
